﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Site.Master" AutoEventWireup="true"
    CodeBehind="FeedBackUs.aspx.cs" Inherits="LEARNREN.COM.WebSite.FeedBackUs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHearder" runat="server">
    <title>填写留言-<%=LEARNREN.COM.BLL.BasicCache.SiteConfig.SiteName%>-<%=LEARNREN.COM.BLL.BasicCache.SiteConfig.KeyWords%>
    </title>
    <meta name="keywords" content="<%=LEARNREN.COM.BLL.BasicCache.SiteConfig.KeyWords%>" />
    <meta name="description" content="<%=LEARNREN.COM.BLL.BasicCache.SiteConfig.Summary%>" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpLeftColum1" runat="server">
    <table class="bk" border="0" cellspacing="0" cellpadding="0" width="240" align="center">
        <tbody>
            <tr>
                <td height="100" valign="top">
                    <table border="0" cellspacing="0" cellpadding="0" width="240" align="center" height="27"
                        style="margin-bottom: 8px;">
                        <tbody>
                            <tr>
                                <td class="baicu12" background="/images/hdf/left01.jpg" width="90" align="middle">
                                    <%=curCatalogue.Title%>
                                </td>
                                <td background="/images/hdf/left02.jpg" width="100">
                                    &nbsp;
                                </td>
                                <td background="/images/hdf/left02.jpg" width="50" align="middle">
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="220" align="center">
                        <tr>
                            <td height="30" width="28" align="middle" class="foot_xx">
                                <img alt="" src="/images/hdf/pot.gif" width="10" height="9" />
                            </td>
                            <td width="192" class="foot_xx">
                                <a href="/FeedBackUs.aspx?id=<%=curCatalogue.Id %>" class="cuhui12">发表留言</a>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" width="28" align="middle" class="foot_xx">
                                <img alt="" src="/images/hdf/pot.gif" width="10" height="9" />
                            </td>
                            <td width="192" class="foot_xx">
                                <a href="/FeedBackList.aspx?id=<%=curCatalogue.Id %>" class="cuhui12">留言列表</a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpLeftColum2" runat="server">
    <%if (childCatalogueList != null && childCatalogueList.Count() > 0)
      { %>
    <table border="0" cellspacing="0" cellpadding="0" width="200" align="center" height="8">
        <tbody>
            <tr>
                <td>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="bk" border="0" cellspacing="0" cellpadding="0" width="240" align="center">
        <tbody>
            <tr>
                <td height="270" valign="top">
                    <table border="0" cellspacing="0" cellpadding="0" width="240" align="center" height="27"
                        style="margin-bottom: 8px;">
                        <tbody>
                            <tr>
                                <td class="baicu12" background="/images/hdf/left01.jpg" width="90" align="middle">
                                    <%=curCatalogue.Title%>
                                </td>
                                <td background="/images/hdf/left02.jpg" width="100">
                                    &nbsp;
                                </td>
                                <td background="/images/hdf/left02.jpg" width="50" align="middle">
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="220" align="center">
                        <%foreach (var childCatalogue in childCatalogueList)
                          {
                              
                        %>
                        <tr>
                            <td height="30" width="28" align="middle" class="foot_xx">
                                <img alt="" src="/images/hdf/pot.gif" width="10" height="9" />
                            </td>
                            <td width="192" class="foot_xx">
                                <a href="<%="/"+childCatalogue.CatalogueType.ToString()+".aspx?id="+childCatalogue.Id %>"
                                    class="cuhui12">
                                    <%=childCatalogue.Title%></a>
                            </td>
                        </tr>
                        <%} %>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <%}%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cpMain" runat="server">
    <form runat="server" id="formmain">
    <table width="750" height="574" border="0" align="center" cellpadding="0" cellspacing="0"
        class="bk">
        <tbody>
            <tr>
                <td valign="top">
                    <table border="0" cellspacing="0" cellpadding="0" width="750" align="center" height="27">
                        <tbody>
                            <tr>
                                <td class="baicu12" background="/images/hdf/left01.jpg" width="90" align="center">
                                    填写留言
                                </td>
                                <td background="/images/hdf/left02.jpg" width="470">
                                    &nbsp;
                                </td>
                                <td background="/images/hdf/left02.jpg" width="90" align="middle">
                                    <a href="/FeedBackUs.aspx?id=<%=curCatalogue.Id %>" target="_blank"><strong>[我要留言]</strong></a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="740" align="center" height="40">
                        <tbody>
                            <tr>
                                <td class="news_info" height="40" valign="top" style="line-height: 25px; padding-top: 15px;">
                                    <div class="box">
                                        <div class="commonContent">
                                            <fieldset style="border-width: 0px; margin-top: 0px;">
                                                <p>
                                                    <asp:Label ID="MsgTitleLabel" runat="server" AssociatedControlID="MsgTitleTextBox">标题:</asp:Label>
                                                    <asp:TextBox ID="MsgTitleTextBox" CssClass="textEntry" runat="server"></asp:TextBox>
                                                </p>
                                                <p>
                                                    <asp:Label ID="MsgPhoneLabel" runat="server" AssociatedControlID="MsgPhoneTextBox">电话:</asp:Label>
                                                    <asp:TextBox ID="MsgPhoneTextBox" CssClass="textEntry" runat="server"></asp:TextBox>
                                                </p>
                                                <p>
                                                    <asp:Label ID="MsgQQLabel" runat="server" AssociatedControlID="MsgQQTextBox">QQ:</asp:Label>
                                                    <asp:TextBox ID="MsgQQTextBox" CssClass="textEntry" runat="server"></asp:TextBox>
                                                </p>
                                                <p>
                                                    <asp:Label ID="MsgMailLabel" runat="server" AssociatedControlID="MsgMailTextBox">Email:</asp:Label>
                                                    <asp:TextBox ID="MsgMailTextBox" CssClass="textEntry" runat="server"></asp:TextBox>
                                                </p>
                                                <p>
                                                    <asp:Label ID="MsgContentLabe" runat="server" AssociatedControlID="MsgContentTextBox">留言内容:</asp:Label>
                                                    <asp:TextBox ID="MsgContentTextBox" CssClass="textEntry" TextMode="MultiLine" Rows="10"
                                                        Width="99%" runat="server"></asp:TextBox>
                                                </p>
                                            </fieldset>
                                            <p id="msg" runat="server" visible="false" class="failureNotification">
                                            </p>
                                            <p class="submitButton">
                                                <input type="reset" value="取消" />
                                                <asp:Button ID="btnSave" runat="server" CommandName="Save" Text="留言" OnClick="btnSave_Click" />
                                            </p>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</asp:Content>
